home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Arsenal Files 6
/
The Arsenal Files 6 (Arsenal Computer).ISO
/
spitfire
/
logutl11.zip
/
LOGUTL.DOC
< prev
next >
Wrap
Text File
|
1996-02-26
|
7KB
|
148 lines
------------------------------------------
░▓█▓░ LOGUTL v1.1 (freeware)
░▓█▓░ Copyright(c) 1996 by Eldon Martin
------------------------------------------
LOGUTL is a utility designed to process the CALLERS.LOG file
generated by Spitfire. LOGUTL strips local logins and outputs a
statistical bulletin from information obtained from the callers log.
Unlike some other CALLERS.LOG processors, LOGUTL does not offer a
"canned" selection of bulletin styles. Instead, LOGUTL gives the
sysop complete control over the look and feel of the bulletins it
generates.
LOGUTL is freeware. A small donation would be appreciated, but
certainly not required. If nothing else, just drop by my BBS and
say hi. You may distribute this program freely as long as it is in
its original form (all files are included and unmodified). LOGUTL
is not public domain. It is illegal to reverse-compile or modify
the program in any way.
Here is a list of files that are part of this package:
FILE_ID.DIZ - The BBS description file
LOGUTL.EXE - The main program executable file
LOGUTL.INI - The configuration file
LOGUTL.DOC - The program documentation (this file)
DCF1.BBS - Sample ASCII display configuration file
DCF1.CLR - Sample ANSI display configuration file
DCF2.BBS - Sample ASCII display configuration file
DCF2.CLR - Sample ANSI display configuration file
This program is provided on an "as is" basis. I have tested it on
my computer, but cannot be held responsible for any problems it
causes you. I tried to keep the code simple to avoid any bugs, but
if you happen to run across any, please let me know.
--------------------
How to use LOGUTL
--------------------
LOGUTL does not support any command line options. The program is
started by running LOGUTL.EXE from the command line or a batch file.
CALLERS.LOG must be found in the current directory in order for
LOGUTL to begin operation. LOGUTL will also look for a
configuration file by the name of LOGUTL.INI. If this file is not
found, the program will by default strip local logins from
CALLERS.LOG and output the resulting log to mm-dd-yy.LOG, where
mm-dd-yy is the current date. In order to take advantage of most of
the functions of LOGUTL, you must edit LOGUTL.INI to suit your
needs, and include it in the directory in which LOGUTL.EXE is
executed. A sample LOGUTL.INI follows:
; Sample INI file for LOGUTL
;
DisplayFile = BULLET7 ; Name of display file
StripLocal = 1 ; Set to 1 to strip local logins
NewLogFile = NEWLOG.TXT ; Output LOG file
DisplayConfigFile = CONFIG1 ; Name of display configuration file
DeleteOldLog = 0 ; Set to 1 to delete old CALLERS.LOG
;
For the most part, the above configuration is self explanetory.
All text following a semicolon on the same line is ignored by
LOGUTL. Notice that the DisplayFile and DisplayConfigFile do not
contain extensions. LOGUTL automatically adds the appropiate .BBS,
.CLR, or .RIP extensions as needed.
The DisplayFile variable tells LOGUTL the name of the display
file which is to display the statistics obtained in CALLERS.LOG. If
the variable is not included in LOGUTL.INI or is left blank, the
program will simply refrain from writing a bulletin.
The NewLogFile variable refers to the log file LOGUTL generates.
If you do not specify an output file, the program will create a
mm-dd-yy.LOG as explained above. If you specify CALLERS.LOG as the
output file, the program will write to a temporary file by the name
of _LOGFILE.TMP and then rename it as CALLERS.LOG when the operation
is complete. Providing the StripLocal variable is set to 1, the new
log file will not contain any local logins, and statistics gained
from local logins will not be included in the informative bulletin
the program generates.
The display configuration file, set by the DisplayConfigFile, is
where the magic takes place. If you leave the variable out or leave
it blank, LOGUTL will generate a "generic" display file. If you
specify a configuration file, LOGUTL loads it line by line, replaces
any display codes(see below) it finds with the appropiate number,
and then outputs a bulletin, which is named by the DisplayFile
variable. LOGUTL automatically searches for .BBS, .CLR, and .RIP of
the display configuration file. If there is a DisplayFile
specified, but not a DisplayConfigFile, LOGUTL will output a
bulletin of the default built-in style.
Here is a list of display codes supported by LOGUTL:
@A@ = Downloads made
@B@ = Uploads made
@C@ = Total calls to bbs
@D@ = New users added
@E@ = Number of times sysop was paged
@F@ = Comments left
@G@ = Messages written
@H@ = Bulletins read
@~~~@ = Space compensator
What really makes full configurability possible is the space
compensator. When LOGUTL encounters one of these, it replaces it
with a number of spaces equal to 5 minus the number of digits
contained in the last statistic displayed. This allows one to use
replacement codes within a box, and then use a space compensator to
make sure the box is not thrown out of line. The best way to learn
how to use these codes is by experience. Take a look at the sample
display configuration files included in this package to help you
understand how display codes are used.
-----------------------
The Data Sector BBS
-----------------------
This program was provided to you by the sysop of The Data Sector
BBS. Call today to make sure you have the latest version of LOGUTL
and to have a look at other great utilities for Spitfire sysops.
The number is (717) 485 - 5914 and supports 300 to 14400 baud. You
can also reach the author of this program by the snail mail address
below. Thank you for using LOGUTL.
Eldon Martin BBS: (717) 485-5914
HCR 75 Box 99 SFNET Node A0717008
McConnellsburg, PA 17233